Add test_build_wheels_linux_v2.yml: build torchvision via uv-based v2 - #8337
Closed
atalman wants to merge 1 commit into
Closed
Add test_build_wheels_linux_v2.yml: build torchvision via uv-based v2#8337atalman wants to merge 1 commit into
atalman wants to merge 1 commit into
Conversation
Exercises build_wheels_linux_v2.yml end-to-end by building pytorch/vision (compiled C++/CUDA extension) — stress-tests the uv interpreter, cmake/ninja toolchain, torch dep install, manylinux repair, and smoke test. Runs on PRs touching the v2 workflow / matrix / pkg-helpers, and on dispatch.
|
@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
Superseded by #8336 — merged the v2 workflow and the torchvision test into a single PR (matrix trimmed to Python 3.12). Closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
test_build_wheels_linux_v2.yml— a CI test that builds torchvision (pytorch/vision) through the uv-basedbuild_wheels_linux_v2.ymlintroduced in #8336.This test's
uses: ./.github/workflows/build_wheels_linux_v2.ymlwon't resolve until #8336 (the v2 workflow) is onmain, so CI here is expected to be red until #8336 merges. Kept as a clean, test-only diff intentionally — merge #8336 first, then this turns green.Why torchvision
torchvision is a compiled C++/CUDA extension (setup-py +
packaging/pre_build_script.sh/post_build_script.sh+test/smoke_test.py), so it exercises the full uv path end-to-end: uv-provisioned interpreter,cmake/ninjatoolchain, torch-dep install, manylinux repair, and smoke test. A pure-python package wouldn't.Notes
test_build_wheels_linux_with_cuda.ymlvision matrix (CUDA + ROCm + XPU + CPU) but builds vision only, targeting v2.pre_build_script.shalready installs several of its own system deps, so it's a good canary.workflow_dispatchand PRs touching the v2 workflow / matrix / pkg-helpers.